//加载验证码
function changeCode() {
	$.ajax({
		url : "createCode.php",
		type : "GET",
		success : function(data) {
			document.getElementById("createCode").src = "createCode.php";
		},
		error:function(data){
			alert("加载验证码失败");
	    },
	});
}

function keyDown(){
	if (window.event.keyCode==13){
		$("#form").submit();
	}
}

